/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package heitor.hosts.servicos;

/**
 *
 * @author heitorsantos
 */
import java.util.List;

//import heitor.hosts.servicos.Hosth;
//import heitor.hosts.servicos.DAOJPA;
        
public class Teste {
   
    public static void main (String[] args){
        
       DAOJPAContasPagar dao = new DAOJPAContasPagar();
        
       List<ContasPagar> registros = dao.getByEmissao("20140801");//dao.getNaoLib();//dao.getByEmissao("20140801");
       
       for (ContasPagar reg : registros){
           System.out.println(reg.getE2Prefixo()+"/"+reg.getE2Num()+"/"+reg.getE2Parcela());
       }
        
       
        
    }
}
